home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8" ?>
-
- <!-- Model definition xml file for ASI 3D client-->
-
- <Config>
-
- <data>
- <Metadata>
- <Field name="grafix" type="xsd:short" normalize="yes" />
- <Field name="inlinks" type="xsd:int" normalize="yes" />
- <Field name="page_count" type="xsd:int" normalize="yes" />
- <Field name="rating" type="xsd:short" normalize="yes" />
- <Field name="decay" type="xsd:short" normalize="no" />
- <Field name="speed" type="xsd:int" normalize="no" />
- <Field name="outlinks" type="xsd:int" normalize="yes" />
- </Metadata>
-
-
- <!-- Material defintions -->
- <material id="just_visited material" color="#FF0000" />
- <material id="search_result material" color="#FFFFFF" opacity="0.5" emission="#CCCCCC" />
-
- <!-- Range selectors for geometry based on visibility -->
- <range id="site not cool" max="1" />
- <range id="site cool" max="max" />
- <range id="search result 1-4" max="4" />
- <range id="search result 5-6" max="6" />
-
- <!-- Data mapping defintions -->
-
- <!-- visibility -->
-
- <DataModelMap id="visibility" data="visibility">
- <UseModel use="1" rangeMax="7.5" />
- <UseModel use="2" rangeMax="15.0" />
- <UseModel use="3" rangeMax="22.5" />
- <UseModel use="4" rangeMax="30.0" />
- <UseModel use="5" rangeMax="37.5" />
- <UseModel use="6" rangeMax="50.0" />
- </DataModelMap>
-
- <!-- metadata -->
-
- <DataModelMap id="pc12" data="page_count">
- <UseScale use="data * 5" axis="y" />
- </DataModelMap>
- <DataModelMap id="pc34" data="page_count">
- <UseScale use="data * 10" axis="y" />
- </DataModelMap>
- <DataModelMap id="pc56" data="page_count">
- <UseScale use="data * 30" axis="y" />
- </DataModelMap>
-
- <DataModelMap id="cool" data="rating">
- <UseCool use="no" rangeMax="1" />
- <UseCool use="yes" rangeMax="100%" />
- </DataModelMap>
-
- <!-- special data -->
-
- <DataModelMap id="just_visited" data="just_visited">
- <UseMaterial use="just_visited material" />
- </DataModelMap>
-
- <DataModelMap id="sr14" data="search_result">
- <UseModel use="sr1-4" />
- </DataModelMap>
- <DataModelMap id="sr56" data="search_result">
- <UseModel use="sr5-6" />
- </DataModelMap>
-
- </data>
-
- <models>
-
- <!-- 01 House - Green -->
- <model id="1" search_result="sr14">
- <!-- Grass -->
- <modelelement id="1" geometry="house_foundation.nff" texture="hf.jpg" tilex="1" tiley="1" >
- <position x="0" y="0" z="0" />
- <size x="25" z="25" y="0.5" />
- <!-- grass surface -->
- <surface id="0" texture="hfr.jpg" tileX="1" tileY="1" />
- </modelelement>
- <!-- Main -->
- <modelelement id="2" geometry="house_main.nff" texture="house_main.jpg" >
- <!-- house door -->
- <position x="0" y="0" z="0" relativeTo="1" />
- <size x="5" y="5" z="5" />
- <surface id="3" texture="house_door.jpg" />
- </modelelement>
- <!-- Roof -->
- <modelelement id="3" geometry="house_roof.nff" texture="hr.jpg" dataModelMap="pc12 AND just_visited">
- <position x="0" y="0" z="0" relativeTo="2" />
- <size x="5" y="1" z="5" />
- </modelelement>
- </model>
-
- <!-- 02 House - White -->
- <model id="2" search_result="sr14">
- <!-- Grass -->
- <modelelement id="1" geometry="house_foundation.nff" texture="hf.jpg" tilex="1" tiley="1">
- <position x="0" y="0" z="0" />
- <size x="25" z="25" y=".5" />
- <!-- grass surface -->
- <surface id="0" texture="hfrgreener.jpg" tilex="1" tiley="1" />
- </modelelement>
- <modelelement id="2" geometry="house_main.nff" texture="hm.jpg" tilex="1" tiley="1">
- <!-- house door -->
- <position x="0" y="0" z="0" relativeTo="1" />
- <size x="10" y="5" z="5" />
- <surface id="3" texture="hmd.jpg" />
- </modelelement>
- <modelelement id="3" geometry="house_roof.nff" texture="hr.jpg" dataModelMap="pc12 AND just_visited">
- <position x="0" y="0" z="0" relativeTo="2" />
- <size x="10" y="1" z="5" />
- </modelelement>
- </model>
-
-
- <!-- 03 Building - High School -->
- <model id="3" search_result="sr14">
- <!-- Foundation -->
- <modelelement id="1" geometry="office_foundation.nff" texture="office_donkey_roof.jpg" tilex="1" tiley="1">
- <position x="0" y="0" z="0" />
- <size x="25" y="0.5" z="25" />
- </modelelement>
- <!-- Main -->
- <modelelement id="2" geometry="office_main.nff" texture="office_main.jpg" tilex="2" tiley="1">
- <position x="0" y="0" z="0" relativeTo="1" />
- <size x="10" y="10" z="15" />
- <!-- roof surface -->
- <surface id="0" texture="office_main_roof.jpg" />
- <!-- building door -->
- <surface id="2" texture="office_main_door.jpg" />
- </modelelement>
- <!-- Tower -->
- <modelelement id="3" geometry="office_tower.nff" texture="office_tower.jpg" dataModelMap="pc34">
- <position x="5" y="0" z="-5" relativeTo="1" />
- <size x="5" y="10" z="5" />
- <!-- roof surface -->
- <surface id="10" texture="office_tower_roof.jpg" dataModelMap="just_visited" />
- </modelelement>
- </model>
-
- <!-- 04 Building - Firehouse -->
- <model id="4" search_result="sr14">
- <!-- Foundation -->
- <modelelement id="1" geometry="office_foundation.nff" texture="bfr.jpg" tilex="1" tiley="1">
- <position x="0" y="0" z="0" />
- <size x="25" y="0.5" z="25" />
- </modelelement>
- <!-- Main -->
- <modelelement id="2" geometry="office_main.nff" texture="bm.jpg" tilex="1" tiley="1">
- <position x="0" y="0" z="0" relativeTo="1" />
- <size x="10" y="10" z="15" />
- <!-- roof surface -->
- <surface id="0" texture="bmr.jpg" />
- <!-- building door -->
- <surface id="2" texture="bmd.jpg" />
- </modelelement>
- <!-- Tower -->
- <modelelement id="3" geometry="office_tower.nff" texture="br.jpg" tilex=".5" tiley="1" dataModelMap="pc34">
- <position x="5" y="0" z="-5" relativeTo="1" base="center" relativeToBase="bottom" />
- <size x="5" y="10" z="5" />
- <!-- roof surface -->
- <surface id="10" texture="brr.jpg" dataModelMap="just_visited" />
- </modelelement>
- </model>
-
- <!-- 05 Skyscraper - Wake -->
- <model id="5" search_result="sr56">
- <modelelement id="1" geometry="skyscraper_mezzanine.nff" texture="sf.jpg" tilex="1" tiley="1">
- <position x="0" y="0" z="0" />
- <size x="20" y="20" z="20" />
- <!-- mezzanine roof surface -->
- <surface id="0" texture="sfr.jpg" tilex="1" tiley="1" />
- <!-- mezzanine door -->
- <surface id="3" texture="sfd.jpg" tileX="1" tileY="1" />
- </modelelement>
- <modelelement id="2" geometry="skyscraper_main.nff" texture="sm.jpg" tilex="1" tiley="8" dataModelMap="pc56">
- <position x="0" y="0" z="0" relativeTo="1" />
- <size x="17" y="30" z="17" />
- <!-- main floors roof -->
- <surface id="0" texture="smr.jpg" tilex="1" tileyY="1" />
- </modelelement>
- <!-- elevator shaft -->
- <modelelement id="3" geometry="skyscraper_elev.nff" texture="srr.jpg" dataModelMap="just_visited">
- <position x="0" y="0" z="0" relativeTo="2" />
- <size x="5" y="10" z="5" />
- <surface id="0" texture="srr.jpg" tileX="1" tileY="1" />
- </modelelement>
- </model>
-
- <!-- 06 Skyscraper - Finnigan -->
- <model id="6" search_result="sr56">
- <!-- Mezzaninne -->
- <modelelement id="1" geometry="skyscraper_mezzanine.nff" texture="cool_skyscraper_mezzanine.jpg" tilex="2" tiley="2">
- <position x="0" y="0" z="0" />
- <size x="20" y="20" z="20" />
- <!-- mezzanine roof surface -->
- <surface id="0" texture="coolskyscrapermezzr.jpg" tilex="1" tiley="1" />
- <!-- mezzanine door -->
- <surface id="3" texture="cool_skyscraper_mezzd.jpg" tilex="1" tiley="1" />
- </modelelement>
- <!-- Main -->
- <modelelement id="2" geometry="skyscraper_main.nff" texture="cool_skyscraper_main.jpg" tilex="2" tiley="10" dataModelMap="pc56">
- <position x="0" y="0" z="0" relativeTo="1" />
- <size x="17" y="30" z="8.5" />
- <!-- main floors roof -->
- <surface id="0" texture="cool_skyscraper_main_roof.jpg" tilex="1" tiley="1" />
- </modelelement>
- <modelelement id="3" geometry="skyscraper_main.nff" texture="cool_skyscraper_main.jpg" tilex="2" tiley="10" dataModelMap="pc56">
- <position x="0" y="0" z="0" relativeTo="1" />
- <size x="8.5" y="30" z="17" />
- <!-- main floors roof -->
- <surface id="0" texture="cool_skyscraper_main_roof.jpg" tilex="1" tiley="1" />
- </modelelement>
- <!-- elevator shaft -->
- <modelelement id="4" geometry="skyscraper_elev.nff" texture="cool_skyscraper_ac.jpg" dataModelMap="just_visited">
- <position x="0" y="0" z="0" relativeTo="2" />
- <size x="5" y="10" z="5" />
- </modelelement>
- </model>
-
- <!-- Search Result 1-4 -->
- <model id="sr1-4" type="search_result">
- <!-- light beam -->
- <modelelement id="lightBeam" geometry="lightbeam.nff" material="search_result material">
- <position x="0" y="0" z="0" />
- <size x="12.5" y="30" z="12.5" />
- </modelelement>
- <!-- ufo -->
- <modelelement id="ufo" geometry="ufo.nff" texture="ufo.tga" billboard="yes">
- <position x="0" y="0" z="0" relativeTo="lightBeam" />
- <size x="30" y="15" z="0" />
- </modelelement>
- </model>
-
- <!-- Search Result 5-6 -->
- <model id="sr5-6" type="search_result">
- <!-- light beam -->
- <modelelement id="lightBeam" geometry="lightbeam.nff" material="search_result material">
- <position x="0" y="0" z="0" relativeTo="2" />
- <size x="7.5" y="30" z="7.5" />
- </modelelement>
- <!-- ufo -->
- <modelelement id="ufo" geometry="ufo.nff" texture="ufo.tga" billboard="yes">
- <position x="0" y="0" z="0" relativeTo="lightBeam" />
- <size x="30" y="15" z="0" />
- </modelelement>
- </model>
-
- </models>
-
- </Config>